package Factory.SimpleFactory;

public class SimpleFactoryTest {

    public static void main(String[] args) {
        Operation operation = OperationFactory.createOperation("add");
        operation.setNumberA(1);
        operation.setNumberB(2);
        System.out.println(operation.getResult());
    }
}
